package com.dmxh.params;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class QueryParams<T> {
    //分页-条件查询参数
    private Integer pageNum;
    private Integer pageSize;
    private T trimParam;

    public QueryParams(Integer pageNum, Integer pageSize) {
        this.pageNum = pageNum;
        this.pageSize = pageSize;
    }
}
